package com.example.itshome.network;

import android.app.Activity;
import android.widget.Adapter;
import androidx.recyclerview.widget.RecyclerView;
import com.example.itshome.adapter.RescuePageRecycleViewAdapter;
import com.example.itshome.entity.RescueStationEntity;

import java.util.List;

public class GetRescueStationRequest extends AbstractRecycleVIewGetRequest<RescueStationEntity>{

    public GetRescueStationRequest(Activity activity) {
        super(activity);
    }

    @Override
    protected String getPathAndParams() {
        return "";
    }

    @Override
    protected void handleResult(String result) {
        setHandleResultRunnable(new Runnable() {
            @Override
            public void run() {
                addItem(new RescueStationEntity(" ","啾啾","233412"));
            }
        });
    }
}
